<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>合成PDF</title>
    <#include "/header.html">
</head>
<style>
    .btn-mock{height: 30px;display: inline-block;vertical-align: middle;}
</style>
<body>
<div data-toggle="topjui-layout" data-options="fit:true">
    <div data-options="region:'center',title:'',fit:true,split:true,border:false">
        <table data-toggle="topjui-treegrid"
               data-options="
               fitColumns:true,
               id: 'maindatagrid',
               idField:'id',
               treeField:'name',
               url:FU.Urls.treeDataUrl,
               loadFilter: FU.loadFilter,
               onBeforeExpand: FU.onBeforeExpand
            ">
            <thead>
            <tr>
                <th data-options="field:'name',title:'名称',width:100"></th>
                <th data-options="field:'operate',title:'操作',align:'center',formatter:FU.operateFormatter"></th>
            </tr>
            </thead>
        </table>
    </div>
</div>
<!-- 表格工具栏开始 -->
<div id="maindatagrid-toolbar" class="topjui-toolbar" data-options="grid:{
       type:'treegrid',
       id:'maindatagrid'
   }">
    <b class="btn-mock"></b>
    <a href="javascript:void(0)"
       data-toggle="topjui-menubutton"
       data-options="extend: '#maindatagrid-toolbar',
           iconCls:'fa fa-plus',
           btnCls:'topjui-btn-green',
           onClick: FU.generateRelated
           ">关联关系</a>
    <form id="queryForm" class="search-box">
        <input type="text" name="name" value="" data-toggle="topjui-textbox" data-options="prompt:'工程名称',width:200">
        <a href="javascript:void(0)"
           data-toggle="topjui-menubutton"
           data-options="method:'query',
                iconCls:'fa fa-search',
                btnCls:'topjui-btn-green',
                form:{id:'queryForm'},
                grid:{type:'treegrid','id':'maindatagrid'}">查询</a>
    </form>
</div>
</body>
<script type="text/javascript" src="/statics/js/zy/single_project_data_tree.js?v=${v}"></script>
</html>